Book Contents

Value connection (numeric input)

hen the operator presses the Enter key, the application writes the numeric value to the tag’s data source. If the decimalPoint attribute is fixedPosition, and the digitsAfterDecimalPoint attribute value is not 0, the decimal point is removed from the shown value and the resulting value is used.

A write connection. Assign a tag to this connection. If you do not assign the Value connection, the numeric pop-up does not open at run time when the operator presses the button.

The numericInputEnable and numericInputCursorPoint graphic object elements contain this connection within their connections elements.

Tip:

The Optional Expression is an optional write connection that works with the Value connection. To use it, assign a write expression to the optionalExpression attribute.

The application calculates the value of the expression and writes the result to the Value connection. All write expressions must contain a question mark (?) as a placeholder for the value the operator enters at run time.

See also

connections and connection elements

decimalPoint attribute

digitsAfterDecimalPoint attribute (numeric objects)

optionalExpression attribute